package com.jk.controller;

import com.jk.api.TestServiceApi;
import com.jk.dao.TestDao;
import com.jk.po.TestPO;
import com.jk.vo.ResultInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.List;

/***
 * @ClassName: TestController
 * @Description:TODO
 * @Auther: 景晨璇
 * @Date: 2021/6/29 14:47
 * @version : V1.0
 */
@Controller
public class TestController implements TestServiceApi {
    @Autowired
    private TestDao testDao;

    @Override
    public List<TestPO> queryTest() {
        return testDao.selectList(null);
    }
}
